import API from './api'

export default {
 getTodoResult(params, callback, errorCallback) {
    API.post('/live/dashBoard/getTodoResult', params, callback, errorCallback)
  },
  getTaskResult(params, callback, errorCallback) {
    API.post('/live/dashBoard/getTaskResult', params, callback, errorCallback)
  },
  getOrderResult(params, callback, errorCallback) {
    API.post('/live/dashBoard/getOrderResult', params, callback, errorCallback)
  },
  getPurchaseTaskPage(params, callback, errorCallback) {
    API.post('/live/dashBoard/getPurchaseTaskPage', params, callback, errorCallback)
  },
  getPurchaseUserList(params, callback, errorCallback) {
    API.post('/live/dashBoard/getPurchaseUserList', params, callback, errorCallback)
  },
  getPurchaseApplyPage(params, callback, errorCallback) {
    API.post('/live/dashBoard/getPurchaseApplyPage', params, callback, errorCallback)
  },
}
